package com.jaychen.spring.core.ioc;

/**
 * 表示是对另一个bean的引用
 * 在读取xml的时候初始化，并在初始化bean的时候，进行解析和真实bean的注入。
 *
 * @Author Jay Chen
 * @Date 2020-11-10 08:03
 * @Version 1.0
 */
public class BeanReference {

    private String name;
    private Object bean;

    public BeanReference(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getBean() {
        return bean;
    }

    public void setBean(Object bean) {
        this.bean = bean;
    }
}
